package com.web.hotel.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_region")
public class Region {
    @Id
    String ID;
    String type;
    @Column(name = "parent_id")
    String parentId;
    String name;

    public String getID() {
        return ID;
    }

    public Region setID(String ID) {
        this.ID = ID;
        return this;
    }

    public String getType() {
        return type;
    }

    public Region setType(String type) {
        this.type = type;
        return this;
    }

    public String getparentId() {
        return parentId;
    }

    public Region setparentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getName() {
        return name;
    }

    public Region setName(String name) {
        this.name = name;
        return this;
    }
}
